{include file='index/header.html'}

<!-- 主体 -->
<div class="container">
    <div class="row">
        <!-- 左侧列表 -->
        <div class="col-md-8">
            {if !$main.list}
            <div class="panel panel-default">
                <div class="panel-body">
                    <!-- 独立页面 -->
                    <div class="row">
                        <div class="col-md-12 entry-content">
                            {if $page}
                            {$page.content}
                            {else}
                            <p>{$tran.no_page}</p>
                            {/if}
                        </div>
                    </div>
                </div>
            </div>
            {else}
            {include file='index/inc/list-page.html'}
            {/if}
        </div>

        <!-- 右侧侧栏 -->
        {include file='index/sidebar.html'}
    </div>
</div>

{include file='index/footer.html'}